home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_09_06 / 9n06052b < prev    next >
Text File  |  1991-02-25  |  411b  |  14 lines

  1. #include "thing.hpp"
  2.  
  3. //  Thing.cpp - 2/27/91  --  Michael Kelly - Author
  4. //
  5. //    See Thing.hpp for definition of class Thing 
  6. //
  7. //  Assigning one Thing to another is a "shallow copy"
  8. //  so TheNullThing is used to "zero out" temporay
  9. //  variables that are in the Thing domain.  This
  10. //  way two different destructors do not try to
  11. //  release the same dynamic memory.
  12. //
  13. const Thing TheNullThing;
  14.